package com.treeHole.treeHoleServer.pojo.RequestDataDTO;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用于发布、删除评论的请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostDeleteCommentDTO {
    private Integer userId;
    private Integer postId;
    private String content;

    private Integer cmtId;//处理删除请求时有效

    private Integer type;//评论类型(0-对帖子的评论，1-对评论的回复)
    private Integer cmtCmtId;//回复的评论id(仅当type字段为1时生效)
    private String replyUserName;//回复的用户昵称(仅当type字段为1时,且是评论中用户对其他用户的回复时不为空)

}
